package rs.dalao.syc.user.pay.pojo.entity;/*
 *   @author:Casin
 *   @date:2023/8/12
 *   @code:
 */

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("syc_prescription")
public class Prescription implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;//处方id
    private Long doctorId;//医生id
    private Long userId;//用户id

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime visitDate;//就诊日期

    private String description;//病症描述
    private String medicine;//药品名称
    private Double price;//药品描述
    private Integer isPaid;//是否支付 0为未支付，1为已支付

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;//数据创建日期

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtModified;//数据修改日期

    private String attention;
    private Integer isDisplay;

}
